﻿<Window x:Class="KTool2.TextChangeTimeWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Text Change Time Setting" Height="125" Width="300"
        Icon="/KTool 2;component/Images/Rate.png">
    <Window.Resources>
    </Window.Resources>
    <Grid Margin="0, 10, 0, 0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="2*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <Label HorizontalAlignment="Right" 
               Margin="5">
            Text change time:
        </Label>
        
        <TextBox Name="txtTime" 
                 Grid.Column="1"
                 Margin="5"
                 PreviewTextInput="txtTime_PreviewTextInput">
        </TextBox>
        
        <Label Grid.Column="2" 
               HorizontalAlignment="Left"
               Margin="5">
            seconds
        </Label>
        
        <Button Name="btnSetTime"
                Grid.Row="1"
                Grid.ColumnSpan="3"
                Margin="5"
                Padding="3"
                Click="btnSetTime_Click"
                IsDefault="True">
            Set time
        </Button>
        
    </Grid>
</Window>
